Atum\Components\AtumOrders\Models\AtumOrderModel D

Total Complexity 324
Dependencies 25
Dependents 6
Total lines 2,560
Lines of code 1,107
Logical lines of code 598
Comment lines 865
Methods 86
Properties 14

Methods 86

Method Rating Maintainability Complexity Lines of code
save_order_items()
B
37 15 78
update_taxes()
A
44 16 39
calculate_taxes()
A
38 13 77
update()
A
47 10 33
process_status()
A
48 10 31
create()
A
48 9 29
set_status()
A
58 9 15
add_order_note()
A
48 8 30
get_formatted_total()
A
51 8 23
calculate_totals()
S
49 7 30
read_items()
S
53 7 23
save_items()
S
54 7 22
add_product()
S
48 6 33
save_posted_order_items()
S
57 7 17
save_item_meta()
S
57 7 16
add_tax()
S
51 6 29
set_date_created()
S
61 7 11
read_meta()
S
59 6 12
add_item()
S
58 5 15
get_status()
S
65 6 8
get_item_subtotal()
S
58 5 14
get_item_total()
S
58 5 14
get_items()
S
60 5 13
get_data()
S
51 4 24
get_tax_totals()
S
53 4 21
__get()
S
61 4 12
set_currency()
S
62 4 12
save()
S
57 3 19
delete()
S
58 3 17
set_date_completed()
S
64 4 9
get_item()
S
63 4 10
__construct()
S
62 3 11
delete_items()
S
55 2 20
add_fee()
S
58 2 16
add_shipping_cost()
S
58 2 16
set_shipping_total()
S
66 3 9
set_shipping_tax()
S
64 3 10
set_discount_tax()
S
66 3 9
recalculate_total_tax()
S
71 3 5
set_total_tax()
S
66 3 9
set_discount_total()
S
66 3 9
set_total()
S
66 3 9
set_created_via()
S
66 3 9
get_items_tax_classes()
S
64 3 10
set_prices_include_tax()
S
66 3 9
set_cart_tax()
S
64 3 10
__unset()
S
67 3 8
get_title()
S
63 3 9
is_editable()
S
73 3 4
save_meta()
S
64 3 8
set_props()
S
68 3 7
remove_item()
S
66 3 8
update_status()
S
64 3 9
get_meta()
S
66 3 8
set_description()
S
55 1 22
set_meta()
S
67 2 8
delete_meta()
S
72 2 5
register_change()
S
73 2 5
get_total_discount()
S
68 2 7
get_subtotal()
S
68 2 7
exists()
S
80 2 3
calculate_shipping()
S
66 2 9
check_order_id()
S
75 2 5
group_to_type()
S
64 2 9
type_to_group()
S
64 2 9
load_post()
S
69 2 7
get_description()
S
74 2 4
get_line_item_group()
S
82 1 3
set_id()
S
81 1 3
get_items_class()
S
100 1 0
get_post()
S
82 1 3
get_db_status()
S
82 1 3
after_save()
S
100 1 0
get_post_type()
S
100 1 0
get_atum_order_item()
S
100 1 0
get_items_key()
S
100 1 0
get_id()
S
82 1 3
get_line_item_type()
S
82 1 3
get_changes()
S
82 1 3
get_fees()
S
80 1 3
get_total_fees()
S
68 1 8
get_taxes()
S
80 1 3
get_shipping_methods()
S
80 1 3
get_action()
S
82 1 3
get_block_message()
S
82 1 3
clear_caches()
S
73 1 5